import request from '@/utils/request'

//分页查询
export const queryPageApi = (data) => request.get('/roles',{params:data})

//添加角色
export const addApi = (data) => request.post('/roles',data)